package com.toptech.downloadmanager.callback;

import com.toptech.downloadmanager.FileInfo;

/**
 * Created by zhengshaorui on 2017/3/10.
 */

public interface DownloadCallback {
    public void getTaskInfoStatus(FileInfo fileInfo);//获取下载任务的进度
    public void taskSuccess(FileInfo fileInfo);
    public void taskFail(int errorCode,String errorMsg,FileInfo fileInfo);
}
